{% extends "base1.html" %}
{% block title %}京东抓取{% endblock %}
{% block page_content %}
<div class="page-header">
    <h1>京东抓取</h1>
    <div class="row clearfix">
		<div class="col-md-12 column">
			<table class="table table-bordered">
				<thead>
					<tr  class="info">
                        <th>编号</th>
						<th>名称</th>
						<th>价格</th>
						<th>商城</th>
                        <th>日期</th>
					</tr>
				</thead>
				<tbody>
                    {% for item in prods %}
					<tr class="success">
                        <td>{{item['prodid']}}</td>
						<td>{{item['name']}}</td>
						<td>{{item['price']}}</td>
						<td>{{item['from']}}</td>
						<td>{{item['day']}}</td>
					</tr>
					{% endfor %}
				</tbody>
			</table>
		</div>
	</div>
</div>
{% endblock %}